/**
 * jims
 */
package com.jims.master.modules.drug.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jims.master.common.persistence.Page;
import com.jims.master.common.service.CrudService;
import com.jims.master.modules.drug.entity.DrugInoutClass;
import com.jims.master.modules.drug.dao.DrugInoutClassDao;

/**
 * Service
 * @author DT
 * @version 2017-03-06
 */
@Service
@Transactional(readOnly = true)
public class DrugInoutClassService extends CrudService<DrugInoutClassDao, DrugInoutClass> {

	public DrugInoutClass get(String id) {
		return super.get(id);
	}
	
	public List<DrugInoutClass> findList(DrugInoutClass drugInoutClass) {
		return super.findList(drugInoutClass);
	}
	
	public Page<DrugInoutClass> findPage(Page<DrugInoutClass> page, DrugInoutClass drugInoutClass) {
		return super.findPage(page, drugInoutClass);
	}
	
	@Transactional(readOnly = false)
	public int save(DrugInoutClass drugInoutClass) {
		return super.save(drugInoutClass);
	}
	
	@Transactional(readOnly = false)
	public int delete(DrugInoutClass drugInoutClass) {
		return super.delete(drugInoutClass);
	}
	
}